﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Umbrella.Whs.Contracts;

namespace Umbrella.Whs.Service
{
    partial class SingletonService
    {

        public WorkflowStatus GetWorkflowStatus(Guid wflId)
        {
            try
            {
                return WorkflowStatusManager.Instance.GetStatus(wflId);
            }
            catch (Exception x)
            {
                _log.Error("GetWorkflowStatus() failed", x);

                throw;
            }
        }

    }
}
